package com.xiaoq.shop.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.xiaoq.apis.order.IUserCouponApi;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by chenjh on 2017/11/23.
 */
@Service(interfaceClass=IUserCouponApi.class, version="1.0.0")
public class UserCouponApiImpl implements IUserCouponApi {

    @Autowired
    private IUserCouponService userCouponService;

    @Override
    public long getUserCouponCount(String userId) {
        return userCouponService.getUserCouponCount(userId);
    }
}
